<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/top::head">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="/common/top::header">

</div>
<div id="Content">
<div id="Main" style="display: flex;margin: auto;flex-direction: column;align-items: center">
    <table >
        <tr>
            <td>Item Id</td>
            <td th:text="${item.getItemId()}"></td>
        </tr>
        <tr>
            <td>Item Introduction</td>
            <td th:text="${item.getItemIntroduction()}"></td>
        </tr>
        <tr>
            <td>Item price</td>
            <td th:text="${item.getItemPrice()}"></td>
        </tr>
    </table>
    <div><a class="Button" th:href="|/cart/AddToCartController?item_id=${item.getItemId()}|">Add
        to Cart</a></div>
</div>
</div>
<div th:replace="common/bottom">

</div>
</body>
</html>